package com.sjh.commons.web.config;

import com.sjh.commons.web.exception.GlobalExecptionHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 功能描述
 *
 * @author songjiahao
 * @date 2023/03/11  11:40
 */
@Configuration
public class BaseWebConfiguration {
    @Bean
    public GlobalExecptionHandler getGlobalExecptionHandler(){

        return new GlobalExecptionHandler();
    }
}
